package com.dy.lock.screen.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dy.lock.screen.dao.MessageDao;
import com.dy.lock.screen.pojo.MessageInfo;
import com.dy.lock.screen.service.MessageService;
@Service("messageService")
public class MessageServiceImpl implements MessageService {
	
	@Resource(name="messageDao")
	private MessageDao messageDao;
	
	@Override
	public List<MessageInfo> getCustomerMessage(String customerId) {
		return this.messageDao.queryByCustomerId(customerId);
	}

}
